﻿using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Xpo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CustomLogicInsteadOfDelete.Module.BusinessObjects {
  [NavigationItem("字典管理")]
  [DefaultClassOptions]
  public class TStudentBo : BaseObject {
    public TStudentBo(Session session) : base(session) { }


    private string fName;
    private int fAge;

    public int Age {
      get => fAge;
      set => SetPropertyValue(nameof(Age), ref fAge, value);
    }
    
    public string Name {
      get => fName;
      set => SetPropertyValue(nameof(Name), ref fName, value);
    }
  }
}
